![]() |
GetMenuFont |
||||
Header: | Menus.h | Carbon status: | Supported | |
Obtains the font used in a menu.
OSStatus GetMenuFont ( MenuHandle menu, SInt16 *outFontID, UInt16 *outFontSize );
A handle to the menu whose font is to be obtained.
On input, a pointer to a signed 16-bit integer. On return, this value identifies the font family ID for the menu font.
On input, a pointer to an unsigned 16-bit integer. On return, this value identifies the size of the font, in points.
A result code.
Your application may use the GetMenuFont function to retrieve the font for an individual menu, such as a pop-up menu.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when MenusLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by MenusLib 8.5 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)